<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    var flag = "false || true";
    var evalFlag = eval(flag);
    if(evalFlag){
        console.log(1);
    }
    if(!evalFlag){
        console.log(2);
    }
</script>
</body>
</html>